package com.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.domain.UserFollow;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 视频收藏记录表 服务类
 * </p>
 *
 * @author sly
 * @since 2024-01-13
 */
public interface UserFollowService extends IService<UserFollow> {

    @Transactional
    void addUserFollow(UserFollow userFollow);

    @Transactional
    void deleteUserFollow(UserFollow userFollow);

    List<UserFollow> getUserFollow(Long userId);

    List<UserFollow> getUserFans(Long userId);
}
